package com.fei.mapper;

import com.fei.bean.CommentBean;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper {

//    根据视频id查询对应的评论
    public List<CommentBean> selectOneVideoId(int video_id);

//    根据video_id删除评论
    public int deleteOneVideoId(int video_id);

//    根据id删除
    public int deleteOneId(int id);

}
